package notes;

/**
 * Description:
 *
 * @Author cowen
 * @Create 2023/10/19 16:29
 * @Version 1.0
 */
class Person{
    String name;
    int age;
    public String sayHi(){
        return this.name+this.age;
    }
    public String getName(){
        return this.name;
    }
}

class PersonMain{
    public static void main(String[] args) {
        Person cowen = new Person();
        cowen.name="郑谨言的爸爸";
        cowen.age=37;
        System.out.println(cowen.sayHi());
    }
}
